package com.mybatis.plugin.test.model;

import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.math.BigDecimal;
import java.sql.Timestamp;
import java.util.Calendar;

import javax.persistence.Column;
import javax.persistence.Id;

/**
 * The persistent class for the api_out_wms_sale_order_header database table.
 * 
 */
@Getter
@Setter
public class Order implements Serializable, Cloneable {
	private static final long serialVersionUID = 1L;

	private static Long DEFAULT_TIMESTAMP = 315504000000L;

	@Id
	@Column(unique = true, nullable = false)
	private Long id;

	@Column(name = "order_sn", nullable = false, length = 50)
	private String orderSn;

	@Column(name = "user_id", nullable = false)
	private Long userId;

	@Override
	public Order clone() throws CloneNotSupportedException {
		return (Order) super.clone();
	}
}